package com.example.teach.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value="major")
public class Major {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String majorName;
    private Integer status;
}
